package com.ruoyi.purchase.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.purchase.domain.PoProduct;
import com.ruoyi.purchase.service.PoProductService;
import com.ruoyi.purchase.mapper.PoProductMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author DY
* @description 针对表【po_product】的数据库操作Service实现
* @createDate 2022-01-04 11:32:44
*/
@Service
public class PoProductServiceImpl extends ServiceImpl<PoProductMapper, PoProduct>
    implements PoProductService{

    @Autowired
    private PoProductMapper poProductMapper;

    @Override
    public List<PoProduct> findProManageList(PoProduct poProduct) {
        return poProductMapper.findProManageList(poProduct);
    }

    @Override
    public PoProduct findEditPro(Integer productId) {
        return poProductMapper.findEditPro(productId);
    }
}




